/*
 * @Description: 
 * @Autor: kaikaima
 * @Date: 2021-03-19 23:31:59
 * @LastEditors: kaikaima
 * @LastEditTime: 2021-04-17 11:58:12
 */

#include <iostream>
#include <cstdlib>
#include <random>
#include <vector>
#include <chrono>
#include <iomanip>
int main(int argc, char *argv[])
{
    typedef std::chrono::high_resolution_clock myclock;
    myclock::time_point beginning = myclock::now();
    /*
    int n;
    if(argc!=2) n=1;
    else n=std::atoi(argv[1]);
    */
    for(int n=5; n<=30; n++){
        std::vector<double> arr(n);
        myclock::duration d = myclock::now() - beginning;
        unsigned seed = d.count();
        std::default_random_engine generator(seed);
        std::uniform_real_distribution<double> dist( 0.0, 1.0);
        for (std::vector<double>::iterator arr_iterator=arr.begin();
        arr_iterator != arr.end();
        ++arr_iterator)
        *arr_iterator=dist(generator);
        for (std::vector<double>::iterator arr_iterator = arr.begin();
        arr_iterator != arr.end();
        ++arr_iterator){
        //std::cout<<std::setprecision(1)<<std::fixed;
        std::cout<<*arr_iterator*10<<" ";}
        std::cout<<std::endl;
    }
    return 0;
};